package com.mk.Mapper;

import com.mk.Entity.Type;
import com.mk.Entity.queryObject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 28464
 */

@Mapper
public interface TypeMapper {

    Type selectOne(Long id);
    List<Type> selectAll();
    List<Type> selectAllLimit(queryObject queryObject);
    void insert(Type type);
    void delete(Long id);
    void update(Type type);
    Integer selectCount();
}
